<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">列表</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="">&nbsp;
        添加时间:
        <input type="text" class="form-control js-bootstrap-datetime" name="start_time" value="{$start_time}" style="width:180px;" autocomplete="off">-
        <input type="text" class="form-control js-bootstrap-datetime" name="end_time" value="{$end_time}" style="width:180px;" autocomplete="off">
        游玩日期:
        <input type="text" class="form-control js-bootstrap-date" name="play_date" value="{$play_date}" style="width:120px;" autocomplete="off">
        关键词:
        <select class="form-control" name="searchType" id="searchType" aria-invalid="false">
            <option value=""
            <empty name="searchType">selected="selected"</empty> >--请选择--</option>
            <option value="d.spot_title" <eq name="$searchType" value="d.spot_title">selected="selected"</eq> >景区</option>
            <option value="a.resume_name" <eq name="$searchType" value="a.resume_name">selected="selected"</eq> >姓名</option>
        </select>
        <input class="form-control" type="text" name="keyword" style="width:200px;" value="{$keyword}" placeholder="请输入关键词">
        <input type="submit" class="btn btn-primary" value="搜索" style="margin-left: 10px;">
        <a class="btn btn-danger" href="{:url('indexla')}">清空</a>
    </form>
    <form method="post" class="js-ajax-form" action="{:url('sort')}">
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="">ID</th>
                <th width="">景区</th>
                <th width="">游玩日期</th>
                <th width="">姓名</th>
                <th width="">性别</th>
                <th width="">添加时间</th>
                <th width="">修改时间</th>
            </tr>
            </thead>
            <volist name="infos['list']" id="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.spot_title|mb_substr=###,0,20,'utf-8'|default='---'}</td>
                    <td>{$vo.resume_date}</td>
                    <td>{$vo.resume_name|mb_substr=###,0,15,'utf-8'|default='---'}</td>
                    <td>{$vo.resume_sex|mb_substr=###,0,20,'utf-8'|default='---'}</td>
                    <td>
                        <gt name="vo.create_time" value="0">{$vo['create_time']|date='Y-m-d H:i',###}</gt>
                    </td>
                    <td>
                        <gt name="vo.update_time" value="0">{$vo['update_time']|date='Y-m-d H:i',###}</gt>
                    </td>
                </tr>
            </volist>
        </table>
        <ul class="pagination">{$infos['list']->render ()|default=''}</ul>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>